package org.jeecg.modules.demo.sysCutting.service;

import org.jeecg.modules.demo.sysCutting.entity.SysCuttingStorage;
import org.jeecg.modules.demo.sysCutting.entity.SysCuttingSpecific;
import org.jeecg.modules.demo.sysCutting.entity.SysCutting;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 刀具信息
 * @Author: jeecg-boot
 * @Date:   2022-10-28
 * @Version: V1.0
 */
public interface ISysCuttingService extends IService<SysCutting> {

	/**
	 * 添加一对多
	 *
	 * @param sysCutting
	 * @param sysCuttingStorageList
	 * @param sysCuttingSpecificList
	 */
	public void saveMain(SysCutting sysCutting,List<SysCuttingStorage> sysCuttingStorageList,List<SysCuttingSpecific> sysCuttingSpecificList) ;
	
	/**
	 * 修改一对多
	 *
	 * @param sysCutting
	 * @param sysCuttingStorageList
	 * @param sysCuttingSpecificList
	 */
	public void updateMain(SysCutting sysCutting,List<SysCuttingStorage> sysCuttingStorageList,List<SysCuttingSpecific> sysCuttingSpecificList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
